﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LabourVerifySearch_Detail.aspx.cs" Inherits="LabourVerify.LabourVerifySearch_Detail" %>
<%@ Import Namespace="Config" %>

<%@ Register Assembly="gfPage" Namespace="gfPage" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>RESULT_ROAD</title>
<link rel="stylesheet" href="../support/tfNiceTable/tfNiceTable.css"/>
<script type="text/javascript" src="../Script/killMouse.js"></script>
<script type="text/javascript" src="../Support/MeizzCalendar3/calendar.js"></script>
        <script type="text/javascript" src="../script/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="../script/layer/layer.js"></script>
<script type="text/javascript" src="../support/tfNiceTable/tfNiceTable.js"></script>
</head>
<body style="overflow-y:auto">
<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<script type="text/javascript">
    function doAjaxShow()
    {
        document.getElementById("divNiceTableMessage").style.left=window.parent.document.getElementById("mainContentFrame").scrollWidth/2-200;
        document.getElementById("divNiceTableMessage").style.top=window.parent.document.getElementById("mainContentFrame").scrollHeight/2-15;

        document.getElementById("divNiceTableMessage").style.display="block";
    }
</script>
<input type="hidden" id="txtUniqueKey" name="txtUniqueKey" value="" />
<div id="divNiceTableMessage" class="tfNiceTableMessage" style="display:none;">正在处理...</div>
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="height:25px;">
<tr>
    <td class="main_title_left"></td>
    <td class="main_title_center">&nbsp;检测记录查询</td>
    <td class="main_title_right"></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="mainWidth">
<tr>

    <td>
         <table   class="table_without_border" >
            <tr>
	            <td>
                </td>
                <td align="right">      
                    
                    <button onclick="go_back()" class="btnBackEnabled"></button>           
                </td>
            </tr>
        </table>
        <table border="1" cellspacing="0" cellpadding="3" class="tfNiceTable">
        <thead>
        <tr class="tfNiceTable_head_style">
             <td align="center" class="tfNiceTable_head_topleft">&nbsp;</td>
             <td>联网流水号</td>
             <td>检验项目</td>
             <td>接口名称</td>
             <td>更新日期</td>
        </tr>
        </thead>
        <tbody>
        <asp:Repeater id="rptList" runat="server">
        <ItemTemplate>
        <tr style="cursor:pointer;" onmouseover="doMouseOver(this);" onmouseout="doMouseOut(this);"  ondblclick="CDoubleClick()" onclick="setSelectedRowData(this,'<%# DataBinder.Eval(Container.DataItem, "ID")%>');">
            <td align="center" class="tfNiceTable_body_arrow"><img src="../support/tfNiceTable/images/tfNiceTable_Pointer.gif" alt="" /></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "LWLSH")%></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "JYXM")%></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "JKName")%></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "LogTime")%></td>
        </tr>
        </ItemTemplate>
        </asp:Repeater>
        </tbody>

    </table>
    <br />
    </td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>
<script>
    function CDoubleClick()
    {
        var rowId = $("#txtUniqueKey").val();
        OpenNewWindow(rowId);
    }


    function OpenNewWindow(rowId) {
        var url = "NET_AJ_JK_RESULT_Insert_Update.aspx?m=r&UniqueKey=" + rowId;
        layer.open({
            type: 2,
            title: "详细信息",
            shadeClose: true,
            maxmin: true,
            area: ['800px', '520px'],
            content: url
        });
    }

    function go_back()
    {
        history.go(-1);
    }

</script>
